#ifndef JINPATIENT_H
#define JINPATIENT_H
#include "app_guis.h"
#include "wxhelper.h"
#include "jlistmodel.h"
#include <wx/dataview.h>


class JInPatient: public JInPatientUI
{
protected:
    wxTable m_table;
    wxObjectDataPtr<JListModel> m_list_model;
public:

public:
    JInPatient( wxWindow* parent);
    void updataDataView();
    void fillTable(ado::ConnectionPtr con);
    virtual void OnInitPanel( wxInitDialogEvent& event ) ;
    virtual void OnChoiceKS( wxCommandEvent& event ) ;
    virtual void OnChoicdCWYS( wxCommandEvent& event ) ;
    virtual void OnTextSelectKey( wxCommandEvent& event );
    virtual void OnChoiceDays( wxCommandEvent& event ) ;
    virtual void lcPatient_OnItemActivated( wxDataViewEvent& event );
};

#endif // JINPATIENT_H
